//
//  ViewController.swift
//  CBPickerViewDemo
//
//  Created by Creater on 2018/9/19.
//  Copyright © 2018年 Creater. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    @IBAction func btnShowPickerClick(_ sender: Any) {
        CBPickerView.showInView(view: self.view, itemsArr: ["A","B","C","D","E","F"]) { (idx) in
            print("选中了\(idx)")
        }
    }
    
}

